//
//  LKMyShopOpenRateSettingCell.m
//  Mideleague_Shop
//
//  Created by Zhiwang on 2020/6/9.
//  Copyright © 2020 Zhiwang. All rights reserved.
//

#import "LKMyShopOpenRateSettingCell.h"

@interface LKMyShopOpenRateSettingCell()
@property (weak, nonatomic) IBOutlet UITextField *textPlaceTf;

@property (weak, nonatomic) IBOutlet UILabel *percentLabel;


@end


@implementation LKMyShopOpenRateSettingCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


-(void)setIsHidden:(BOOL)isHidden{
    _isHidden = isHidden;
    if (_isHidden) {
        _textPlaceTf.placeholder = @"";
    }
}
-(void)setValues:(NSString *)values{
    _values = values;
    self.textField.text = _values;
}
-(void)setPercentLabelHidden:(BOOL)percentLabelHidden{
    _percentLabelHidden= percentLabelHidden;
    if (_percentLabelHidden) {
        _percentLabel.hidden = YES;
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
